﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ViewAllCustomer.aspx.cs"
    Inherits="TotalSport.ViewAllCustomer" EnableEventValidation="false"  %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            font-size: xx-large;
        }
        .style2
        {
            font-size: large;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
        <center>
            <table width="90%">
                <tr>
                    <td align="left" valign="top" width="100%" class="tdLightBorder">
                        <table width="100%" cellpadding="5px">
                            <tr>
                                <td align="left">
                                    <span id="spnMsg" runat="server" class="serviceSpanMsg">
                    <img src="logo.png" style="width: 105px; height: 51px;" /><b><span class="style1">Just Dial 
                                    Email Utility-</span><span class="style2">View All Customers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/JD.aspx">Back to Home page</asp:HyperLink>
                                    </span></b></span></td>
                            </tr>
                            <tr>
                                <td align="left" width="100%">
                                    <asp:UpdatePanel runat="server" ID="upDownload">
                                        <ContentTemplate>
                                            <asp:GridView ID="GridView1" runat="server" Width="100%" CellPadding="3" 
                                                PageSize="50" AllowPaging="True" EmptyDataText="No Data Found..."
                                                OnPageIndexChanging="GridView1_PageIndexChanging1" BackColor="White" 
                                                BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"  CellSpacing="2"
                                                AutoGenerateColumns="False">
                                                <Columns>
                                                    <asp:BoundField DataField="CustomerId" HeaderText="Cust ID" />
                                                    <asp:BoundField DataField="C_Name" HeaderText="Cust Name" />
                                                    <asp:BoundField DataField="C_LOCATION" HeaderText="Cust Loct" />
                                                    <asp:BoundField DataField="C_EmailID" HeaderText="EmailID" />
                                                    <asp:BoundField DataField="C_Mobile" HeaderText="Mobile1" />
                                                    <asp:BoundField DataField="C_Mobile2" HeaderText="Mobile2" />
                                                    <asp:BoundField DataField="CreationDate" HeaderText="Date" />
                                                </Columns>
                                                <EmptyDataRowStyle ForeColor="Red" />
                                                <FooterStyle CssClass="gridFooterStyle" BackColor="White" ForeColor="#000066" />
                                                <HeaderStyle CssClass="gridHeaderStyle" BackColor="#006699" Font-Bold="True" 
                                                    ForeColor="White" />
                                                <PagerSettings Mode="Numeric"  Position="TopAndBottom"/>
                                                <PagerStyle CssClass="pagination" HorizontalAlign="Left" BackColor="White" 
                                                    ForeColor="#000066" />
                                                <RowStyle CssClass="gridRowStyle" ForeColor="#000066" />
                                                <SelectedRowStyle CssClass="gridSelectedRowStyle" BackColor="#669999" 
                                                    Font-Bold="True" ForeColor="White" />
                                                <SortedAscendingCellStyle BackColor="#F1F1F1" />
                                                <SortedAscendingHeaderStyle BackColor="#007DBB" />
                                                <SortedDescendingCellStyle BackColor="#CAC9C9" />
                                                <SortedDescendingHeaderStyle BackColor="#00547E" />
                                            </asp:GridView>
                                        </ContentTemplate>
                                    </asp:UpdatePanel>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:LinkButton ID="lnkDownloadXcel" runat="server" CausesValidation="false" OnClick="lnkDownloadXcel_Click"
                                        Visible="False">Click here to download </asp:LinkButton>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </center>
    </div>
    </form>
</body>
</html>
